export const constantRoute = [
  {
    //登录
    path: "/login",
    component: () => import("@/views/login/index.vue"),
    name: "login",
  },
  {
    //登录成功以后展示数据的路由
    path: "/",
    component: () => import("@/layout/index.vue"),
    name: "layout",
    redirect: "/home",
  },
  {
    //任意路由
    path: "/:pathMatch(.*)*",
    component: () => import("@/views/404/index.vue"),
    name: "Any",
  },
];

// 异步路由
export const asnycRoute = [];
